package peppa.george.org.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import peppa.george.org.domain.User;

@Mapper
public interface LoginMapper {
    @Select("select * from user where username=#{username} and password=#{password}")
    User login(@Param("username") String username,@Param("password") Long password);

}
